package com.eedi.framework.dept.controller.org.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "经营管理 - 部门信息 Response VO")
@Data
public class OrgDeptResp {

    @Schema(description = "部门编号", example = "1024")
    private String orgDeptId;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "永聚长青")
    private String orgDeptName;

    @Schema(description = "部门编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "miaoren")
    private String orgDeptCode;

    @Schema(description = "父部门 ID", example = "1024")
    private String parentOrgDeptId;

    @Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Integer orgDeptSort;

    @Schema(description = "负责人的用户编号", example = "2048")
    private String leaderUserId;

    @Schema(description = "状态,见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private CommonStatusEnum orgDeptStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
    private LocalDateTime updateTime;

}
